package com.baize.cpdepus.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import java.io.Serializable;

//评论
@Data
@ToString(doNotUseGetters = true)
@ApiModel("评论实体")
public class Comment implements Serializable {
    @ApiModelProperty("主键")
    private Integer id;
    @ApiModelProperty("评论内容")
    private String content;
    @ApiModelProperty("用户ID")
    private Integer userId;
    @ApiModelProperty("物品ID")
    private Integer articleId;
}
